import request from "@/utils/request";

// 小票设置
// 消费小票 查询
export function getXFReceipt(query) {
  return request({
    url: '/receiptSection/query',
    params: query
  })
}
// 消费小票 保存
export function saveXFReceipt(data) {
  return request({
    url: '/receiptSection/save',
    method: 'post',
    data
  })
}

// 恢复应用
export function defaultSet( query ) {
  return request({
    url: '/receiptSection/queryDef',
    params: query
  })
}
